package com.example.demo.zerenlian;

public class SchoolApprover extends Approver{

    public SchoolApprover(String name) {
        super(name);
    }

    @Override
    public void processRequest(PurchaseRequest purchaseRequest) {
        if(purchaseRequest.getPrice()>5000){
            System.out.println("请求编号ID="+purchaseRequest.getId()+"被"+this.name+"处理");
        }
    }


}
